aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Diener <[email protected]>2018-07-14 01:07:26 +0200
committerLorenz Diener <[email protected]>2018-07-14 01:07:26 +0200
commit65b1f41e65d5f20136de0bd01f154ecf4134eaf8 (patch)
tree6cb000bf369c5eda54f3ce4dcc5636437a20e9e0 /tests/cassettes/test_status_post[Content warning-unlisted].yaml
parent91de8ca061524712cae1d1b327cc2b2881c37548 (diff)
downloadmastodon.py-65b1f41e65d5f20136de0bd01f154ecf4134eaf8.tar.gz
Rerun all tests
Diffstat (limited to 'tests/cassettes/test_status_post[Content warning-unlisted].yaml')
-rw-r--r--tests/cassettes/test_status_post[Content warning-unlisted].yaml30
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/cassettes/test_status_post[Content warning-unlisted].yaml b/tests/cassettes/test_status_post[Content warning-unlisted].yaml
index 6bb377c..579e4cd 100644
--- a/tests/cassettes/test_status_post[Content warning-unlisted].yaml
+++ b/tests/cassettes/test_status_post[Content warning-unlisted].yaml
@@ -1,6 +1,6 @@
1interactions: 1interactions:
2- request: 2- request:
3 body: visibility=unlisted&spoiler_text=Content+warning&status=Toot%21 3 body: spoiler_text=Content+warning&visibility=unlisted&status=Toot%21
4 headers: 4 headers:
5 Accept: ['*/*'] 5 Accept: ['*/*']
6 Accept-Encoding: ['gzip, deflate'] 6 Accept-Encoding: ['gzip, deflate']
@@ -8,19 +8,19 @@ interactions:
8 Connection: [keep-alive] 8 Connection: [keep-alive]
9 Content-Length: ['63'] 9 Content-Length: ['63']
10 Content-Type: [application/x-www-form-urlencoded] 10 Content-Type: [application/x-www-form-urlencoded]
11 User-Agent: [python-requests/2.9.1] 11 User-Agent: [python-requests/2.18.4]
12 method: POST 12 method: POST
13 uri: http://localhost:3000/api/v1/statuses 13 uri: http://localhost:3000/api/v1/statuses
14 response: 14 response:
15 body: {string: '{"id":"100154010017793191","created_at":"2018-06-05T20:01:52.655Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content 15 body: {string: '{"id":"100369510047407296","created_at":"2018-07-13T21:26:22.139Z","in_reply_to_id":null,"in_reply_to_account_id":null,"sensitive":true,"spoiler_text":"Content
16 warning","visibility":"unlisted","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100154010017793191","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100154010017793191","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py 16 warning","visibility":"unlisted","language":"ja","uri":"http://localhost:3000/users/mastodonpy_test/statuses/100369510047407296","content":"\u003cp\u003eToot!\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test/100369510047407296","reblogs_count":0,"favourites_count":0,"favourited":false,"reblogged":false,"muted":false,"pinned":false,"reblog":null,"application":{"name":"Mastodon.py
17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John 17 test suite","website":null},"account":{"id":"1234567890123456","username":"mastodonpy_test","acct":"mastodonpy_test","display_name":"John
18 Lennon","locked":true,"bot":false,"created_at":"2018-06-05T21:58:43.069Z","note":"\u003cp\u003eI 18 Lennon","locked":true,"bot":false,"created_at":"2018-07-13T23:02:25.260Z","note":"\u003cp\u003eI
19 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpg","followers_count":0,"following_count":1,"statuses_count":22,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'} 19 walk funny\u003c/p\u003e","url":"http://localhost:3000/@mastodonpy_test","avatar":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","avatar_static":"http://localhost:3000/system/accounts/avatars/123/456/789/012/345/original/mastodonpyupload_.jpeg","header":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","header_static":"http://localhost:3000/system/accounts/headers/123/456/789/012/345/original/mastodonpyupload_.jpeg","followers_count":0,"following_count":0,"statuses_count":57,"emojis":[],"fields":[{"name":"bread","value":"toasty."},{"name":"lasagna","value":"no!!!"}]},"media_attachments":[],"mentions":[],"tags":[],"emojis":[]}'}
20 headers: 20 headers:
21 Cache-Control: ['max-age=0, private, must-revalidate'] 21 Cache-Control: ['max-age=0, private, must-revalidate']
22 Content-Type: [application/json; charset=utf-8] 22 Content-Type: [application/json; charset=utf-8]
23 ETag: [W/"35b1fc05bc664de2c0d2180362d70e6f"] 23 ETag: [W/"7f75d98eb51fe43db5867c29d4db3068"]
24 Referrer-Policy: [strict-origin-when-cross-origin] 24 Referrer-Policy: [strict-origin-when-cross-origin]
25 Transfer-Encoding: [chunked] 25 Transfer-Encoding: [chunked]
26 Vary: ['Accept-Encoding, Origin'] 26 Vary: ['Accept-Encoding, Origin']
@@ -28,10 +28,10 @@ interactions:
28 X-Download-Options: [noopen] 28 X-Download-Options: [noopen]
29 X-Frame-Options: [SAMEORIGIN] 29 X-Frame-Options: [SAMEORIGIN]
30 X-Permitted-Cross-Domain-Policies: [none] 30 X-Permitted-Cross-Domain-Policies: [none]
31 X-Request-Id: [3b4e365c-73d1-4d32-b608-fca1d60bd675] 31 X-Request-Id: [777387ad-0c5e-427e-992a-29f194187994]
32 X-Runtime: ['0.320393'] 32 X-Runtime: ['0.163483']
33 X-XSS-Protection: [1; mode=block] 33 X-XSS-Protection: [1; mode=block]
34 content-length: ['1521'] 34 content-length: ['1525']
35 status: {code: 200, message: OK} 35 status: {code: 200, message: OK}
36- request: 36- request:
37 body: null 37 body: null
@@ -41,15 +41,15 @@ interactions:
41 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN] 41 Authorization: [Bearer __MASTODON_PY_TEST_ACCESS_TOKEN]
42 Connection: [keep-alive] 42 Connection: [keep-alive]
43 Content-Length: ['0'] 43 Content-Length: ['0']
44 User-Agent: [python-requests/2.9.1] 44 User-Agent: [python-requests/2.18.4]
45 method: DELETE 45 method: DELETE
46 uri: http://localhost:3000/api/v1/statuses/100154010017793191 46 uri: http://localhost:3000/api/v1/statuses/100369510047407296
47 response: 47 response:
48 body: {string: '{}'} 48 body: {string: '{}'}
49 headers: 49 headers:
50 Cache-Control: ['max-age=0, private, must-revalidate'] 50 Cache-Control: ['max-age=0, private, must-revalidate']
51 Content-Type: [application/json; charset=utf-8] 51 Content-Type: [application/json; charset=utf-8]
52 ETag: [W/"06df5aeea2e29f75afd49cbe3b4e233d"] 52 ETag: [W/"746137eafae715603d3e34ff80efc480"]
53 Referrer-Policy: [strict-origin-when-cross-origin] 53 Referrer-Policy: [strict-origin-when-cross-origin]
54 Transfer-Encoding: [chunked] 54 Transfer-Encoding: [chunked]
55 Vary: ['Accept-Encoding, Origin'] 55 Vary: ['Accept-Encoding, Origin']
@@ -57,8 +57,8 @@ interactions:
57 X-Download-Options: [noopen] 57 X-Download-Options: [noopen]
58 X-Frame-Options: [SAMEORIGIN] 58 X-Frame-Options: [SAMEORIGIN]
59 X-Permitted-Cross-Domain-Policies: [none] 59 X-Permitted-Cross-Domain-Policies: [none]
60 X-Request-Id: [d2bd779d-7c04-4396-92a6-8c3904a29a86] 60 X-Request-Id: [2c9f3dfe-016b-41b9-b2cf-46d942e02d7d]
61 X-Runtime: ['0.082491'] 61 X-Runtime: ['0.029455']
62 X-XSS-Protection: [1; mode=block] 62 X-XSS-Protection: [1; mode=block]
63 content-length: ['2'] 63 content-length: ['2']
64 status: {code: 200, message: OK} 64 status: {code: 200, message: OK}
Powered by cgit v1.2.3 (git 2.41.0)